import React, { Component } from "react"
import { ThemeContext } from "./context/theme-context"

function HomeBanner(params) {
    return (
        <ThemeContext.Consumer>
            {(value) => {
                return <h2>HomeBanner:{value.color}</h2>
            }}
        </ThemeContext.Consumer>
    )
}

export default HomeBanner
